package com.yc.post.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.yc.base.BaseService;
import com.yc.post.entity.Post;

import java.util.List;
/**
 * <p>
 * 后台岗位表 服务类
 * </p>
 *
 * @author bao
 * @since 2021-12-09
 */
public interface IPostService extends BaseService<Post> {

    boolean create(Post post);

    boolean createBatch(List<Post> postList);

    boolean delete(List<Long> ids);

    boolean update(Post post);

    Post queryById(Long id);

    List<Post> selectList();

    IPage<Post> selectPage(IPage<Post> page);

}
